package StudyCode.summary.Basic.myarray;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ArrayReverse {
	public static void main(String args[]) {
		Integer[] data = new Integer[]{1,9,3,999,4,2,890};
		List<Integer> list = Arrays.asList(data);

		Collections.reverse(list);

		System.out.println("Integer array reversed");
		System.out.println(list);
	}
}
